<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Grade</title>
    <script src="JSON/jquery-3.3.1.js"></script>
    <script>
        $(document).ready(function () {
            var $btn=$("#jsonButton");
            $btn.bind("click",function () {
                $.ajax({
                    type:"post",
                    url:"grade!load",
                    dataType:"json",
                    success:function (data) {
                        var grade=data["gradeData"];
                        console.log(grade);
                    },
                    error:function () {
                        alert("Paining!Please Again!")
                    }
                });
            });
        });
    </script>
</head>
<body>
<button id="jsonButton">提交</button>
</body>
</html>